/*
 * ODO: Real-Time In-Memory ORM/DBMS Grid software
 * Copyright (c) 2008, Michael Oksenenko
 * All rights reserved.
 */
#ifndef OS_COMPONENT_FACTORY_IF_HPP
#define OS_COMPONENT_FACTORY_IF_HPP

#include <memory>

namespace odo {

template<class COMPONENT>
class OsComponentFactoryIF {

public: // iface

	virtual std::auto_ptr<COMPONENT> getComponent() = 0;

public: // factory

	virtual ~OsComponentFactoryIF() { /* void */ }

};

}

#endif /* OS_COMPONENT_FACTORY_IF_HPP */
